package cn.example.zjgsu.service;

import cn.example.zjgsu.pojo.FoodRecord;
import cn.example.zjgsu.pojo.result.DetailFoodRecord;
import cn.example.zjgsu.pojo.result.OneClickFoodRecord;
import org.springframework.web.multipart.MultipartFile;

import java.io.IOException;

/**
 * @author xuejiahui
 * @date 2020/3/29 -15:57
 */
public interface PublishPageServer {
     int insertCommonFoodRecord(FoodRecord foodRecord,String userid,int cityid);
     String insertPlanFoodRecord(MultipartFile[] files, String title, String content, String userid, int planid, int cityid)throws IOException;
     int delteFoodRecord(int foodrecordid);
     DetailFoodRecord seltectDetailFoodRecordById(int foodrecordid);
     int praiseFoodRecord(int foodrecordid);
     OneClickFoodRecord  oneClickFoodRecord(int planid);


}
